package com.fiap.gestaoPassagens.util.model;

import javax.annotation.PostConstruct;

public interface ManagedBeanModel {
	
	public final static long ESTADO_EDIT   =1;
	public final static long ESTADO_VIEW   =2;
	public final static long ESTADO_CREATE =3;
	public final static long ESTADO_LIST   =4;
	
	@PostConstruct
	public void init();
	
	public String save();
	
	public void delete();
	
	public void list();
	
	public String showEdit();
	
	public String showView();
	
	public void showCreate();
	
	public void showList();
	
	@PostConstruct
	public void resgatarAtributosSessao();
}
